package com.github.jspxnet.worktask.core.job;

import com.github.jspxnet.worktask.core.TaskAction;
import com.github.jspxnet.worktask.dao.ConfWorkFlowDAO;
import com.github.jspxnet.worktask.dao.RuntimeServiceDAO;
import com.github.jspxnet.worktask.dao.UserAdapterDAO;
import com.github.jspxnet.worktask.model.param.WorkTaskParam;
import com.github.jspxnet.worktask.table.ConfFlowJob;
import com.github.jspxnet.worktask.table.ConfFlowNode;
import com.github.jspxnet.worktask.table.WorkTask;
import lombok.Data;
import java.util.Map;

@Data
public abstract class BaseTaskAction implements TaskAction {
    protected ConfWorkFlowDAO confWorkFlowDAO;

    protected RuntimeServiceDAO runtimeServiceDAO;

    protected UserAdapterDAO userAdapterDAO;

    //当前变量
    protected WorkTask currentWorkTask;
    //当前节点
    protected ConfFlowNode currentConfFlowNode;

    //进入参数
    protected WorkTaskParam workTaskParam;

    //任务动作
    protected ConfFlowJob confFlowJob;

    protected Map<String, Object> variables;
}
